package com.hckjsec.oa.domain.OaView;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class HomeSplitView {
    /** 考勤时间段 0 签到,1 签退 */
    private String type;
    /** 状态 0 正常,1 迟到,2 早退 */
    private String state;
    /** 打卡时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date pthTime;

    public HomeSplitView() {
    }

    public HomeSplitView(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getPthTime() {
        return pthTime;
    }

    public void setPthTime(Date pthTime) {
        this.pthTime = pthTime;
    }
}
